WARNING: This program has a bug, which means we need to fix it!

RULE: You must use a sprite's variable name in front of the Action command you want to assign.

  • Click Run and read the error message.
  • Debug the program so that the .glide_to() command is assigned to zorg.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("space") zorg = codesters.Sprite("alien2") zorg.set_speed(2) sprite.glide_to(65, 95)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)